package com.by.mapper;

import com.by.bean.FreightOffer;
import com.by.common.crud.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FreightOfferMapper extends BaseMapper<FreightOffer> {
    /**
     * 保存货代信息
     * @param cid 货代询价
     * @param trans 运输方式
     * @param airline 航线
     * @return
     */
    int saveFreight(@Param("cid") int cid, @Param("trans") String trans, @Param("airline") String airline);

}
